projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2c475
)
Deprecate gdk_get_display()
author
Benjamin Otte
<otte@redhat.com>
Sun, 25 Nov 2012 20:11:48 +0000
(21:11 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 1 Apr 2013 12:20:47 +0000
(14:20 +0200)
gdk/gdk.c
patch
|
blob
|
history
gdk/gdkmain.h
patch
|
blob
|
history
diff --git
a/gdk/gdk.c
b/gdk/gdk.c
index 3e2ef2a0483c47c1b01a9c7c3854faed0941c5fd..711a0966a3d9e06eb3e40afb8733d3fe0c1d710b 100644
(file)
--- a/
gdk/gdk.c
+++ b/
gdk/gdk.c
@@
-333,6
+333,9
@@
gdk_parse_args (int *argc,
* <option>--display</option> command line option.
*
* Returns: the name of the display.
+ *
+ * Deprecated: 3.8: Call gdk_display_get_name (gdk_display_get_default ()))
+ * instead.
*/
gchar *
gdk_get_display (void)
diff --git
a/gdk/gdkmain.h
b/gdk/gdkmain.h
index 4fbe7ac9b316fc35d2daf1297ce222ee1921de44..580a3057d8c10a6077b0020e01f44be6cba65a73 100644
(file)
--- a/
gdk/gdkmain.h
+++ b/
gdk/gdkmain.h
@@
-65,6
+65,7
@@
void gdk_error_trap_pop_ignored (void);
const gchar * gdk_get_display_arg_name (void);
+GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
gchar* gdk_get_display (void);
#ifndef GDK_MULTIDEVICE_SAFE